<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/view/common/tagPage.jsp" %>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="${webRoot}/js/jquery-easyui-1.3.5/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="${webRoot}/js/jquery-easyui-1.3.5/themes/icon.css">
    <script type="text/javascript" src="${webRoot}/js/jquery-easyui-1.3.5/jquery.min.js"/>
    <script type="text/javascript" src="${webRoot}/js/jquery-easyui-1.3.5/jquery.easyui.min.js"/>
    <title>测试异步</title>
    <script type="text/javascript">
        $(
            function(){
                $("#bt1").click(
                    function(){
//                  这边传一个 supplier 对象过去
                        $.post(
                            "sysUserController/doAjax",
                            {supId:1001,supName:"name1001"},
                            function(json){
                                alert(json.supId+"||"+json.supName);},
                            "json"
                        );
                    }
                );
            }
        );

    </script>

</head>
<body>
<button id="bt1" >testJson</button>
</body>
</html>
